/**
 * Copyright &copy; 2012-2017 <a href="https://vivo.com">vivo</a> All rights reserved.
 */
package com.vivo.material.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.service.CrudService;
import com.vivo.material.entity.ViMaterialinfo;
import com.vivo.material.dao.ViMaterialinfoDao;

/**
 * 物料信息Service
 * @author jyangye
 * @version 2017-11-27
 */
@Service
@Transactional(readOnly = true)
public class ViMaterialinfoService extends CrudService<ViMaterialinfoDao, ViMaterialinfo> {

	public ViMaterialinfo get(String id) {
		return super.get(id);
	}
	
	public List<ViMaterialinfo> findList(ViMaterialinfo viMaterialinfo) {
		return super.findList(viMaterialinfo);
	}
	
	public Page<ViMaterialinfo> findPage(Page<ViMaterialinfo> page, ViMaterialinfo viMaterialinfo) {
		return super.findPage(page, viMaterialinfo);
	}
	
	@Transactional(readOnly = false)
	public void save(ViMaterialinfo viMaterialinfo) {
		super.save(viMaterialinfo);
	}
	
	@Transactional(readOnly = false)
	public void delete(ViMaterialinfo viMaterialinfo) {
		super.delete(viMaterialinfo);
	}
	
}